package com.fanqwz.kotlinmvvm.data.web

/**
 * Created by Administrator on 2017/7/18.
 */
data class RequestTemplate<T>(var body: T,
                             var header: RequestHeader
)

open class RequestHeader(var serviceCode: String,
                         var ip: String = "")

data class ResponseTemplate<T>(var body: T?,
                               var header: ResponseHeader)

data class ResponseHeader(var serviceCode: String,
                          var returnCode: String,
                          var returnMsg: String?)

